package com.umgsai.thread.thread13;

public class Service {
	public void testMethod1(Object object) {
//		synchronized (object) {
			try {
				System.out.println(Thread.currentThread().getName() + "-begin-" + System.currentTimeMillis());
				Thread.sleep(2000);
				System.out.println(Thread.currentThread().getName() + "-end-" + System.currentTimeMillis());
			} catch (Exception e) {
				e.printStackTrace();
			}
		//}
	}
}
